using System.Data;

namespace Dapper.Bulk;

public interface IBulkOperations
{
    Task<int> BulkInsertAsync<T>(IEnumerable<T> entities) where T : class;
    Task<int> BulkUpdateAsync<T>(IEnumerable<T> entities) where T : class;
    Task<int> BulkDeleteAsync<T>(IEnumerable<T> entities) where T : class;
    Task<int> BulkMergeAsync<T>(IEnumerable<T> entities) where T : class;
    Task<int> BulkSynchronizeAsync<T>(IEnumerable<T> entities) where T : class;
}